package com.whnk.pm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.whnk.common.base.BaseEntity;

/**
 * 订单基本表 pm_ctr_info
 * 
 * @author whwhnk
 * @date 2019-07-15
 */
public class CtrInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 订单主键 */
	private Integer ctrId;
	/** 订单编号 */
	private String ctrSn;
	/** 订单名称 */
	private String ctrName;
	/** 订单金额 */
	private Double ctrAmount;
	/** 订单电子版附件 */
	private byte[] ctrAtt;
	/** 总人月数 */
	private Double ctrWl;
	/** 供应商主键 */
	private String compId;
	/** 供应商名称 */
	private String compNm;
	/** 订单状态 */
	private String ctrSta;
	
	public void setCtrId(Integer ctrId) 
	{
		this.ctrId = ctrId;
	}

	public Integer getCtrId() 
	{
		return ctrId;
	}
	public void setCtrSn(String ctrSn) 
	{
		this.ctrSn = ctrSn;
	}

	public String getCtrSn() 
	{
		return ctrSn;
	}
	public void setCtrName(String ctrName) 
	{
		this.ctrName = ctrName;
	}

	public String getCtrName() 
	{
		return ctrName;
	}
	public void setCtrAmount(Double ctrAmount) 
	{
		this.ctrAmount = ctrAmount;
	}

	public Double getCtrAmount() 
	{
		return ctrAmount;
	}
	public void setCtrAtt(byte[] ctrAtt) 
	{
		this.ctrAtt = ctrAtt;
	}

	public byte[] getCtrAtt() 
	{
		return ctrAtt;
	}
	public void setCtrWl(Double ctrWl) 
	{
		this.ctrWl = ctrWl;
	}

	public Double getCtrWl() 
	{
		return ctrWl;
	}
	
    public String getCompId() {
		return compId;
	}

	public void setCompId(String compId) {
		this.compId = compId;
	}

	public String getCompNm() {
		return compNm;
	}

	public void setCompNm(String compNm) {
		this.compNm = compNm;
	}
	
	public String getCtrSta() {
		return ctrSta;
	}

	public void setCtrSta(String ctrSta) {
		this.ctrSta = ctrSta;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ctrId", getCtrId())
            .append("ctrSn", getCtrSn())
            .append("ctrName", getCtrName())
            .append("ctrAmount", getCtrAmount())
            .append("ctrAtt", getCtrAtt())
            .append("ctrWl", getCtrWl())
            .append("compId", getCompId())
            .append("compNm", getCompNm())
            .append("ctrSta", getCtrSta())
            .toString();
    }

}
